#include "addform.h"
#include "ui_addform.h"

AddForm::AddForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AddForm)
{
    ui->setupUi(this);


}

AddForm::~AddForm()
{
    delete ui;
}

void AddForm::on_pushButton_clicked()
{
    QString myStr1=ui->lineEdit->text();
    QString myStr2=ui->lineEdit_2->text();
    emit this->plantext(myStr1);
    emit this->plantime(myStr2);
}
